Skip to content

Update demo form email field to Business Email#38

Merged
Alek99 merged 1 commit intomainfrom
devin/1754358612-update-demo-form-business-email
Aug 5, 2025
Merged

Update demo form email field to Business Email#38
Alek99 merged 1 commit intomainfrom
devin/1754358612-update-demo-form-business-email

Conversation

@devin-ai-integration
Copy link
Copy Markdown
Contributor

Switch Contact Sales to Book a Demo in navbar

Summary

This PR updates the navbar "Contact Sales" button to "Book a Demo" and changes its destination from the pricing page to a Cal.com demo booking form. Additionally, it updates the demo form email field to explicitly indicate "Business Email" to align with the existing business email validation logic.

Changes:

  • Navbar button text: "Contact Sales" → "Book a Demo"
  • Navbar button URL: /pricingREFLEX_DEV_WEB_LANDING_FORM_URL_GET_DEMO (Cal.com form)
  • Demo form email field: "Email" → "Business Email"
  • Email placeholder: "john@example.com" → "john@company.com"

Review & Testing Checklist for Human

  • Test that clicking "Book a Demo" in the navbar redirects to the correct Cal.com demo booking form
  • Verify the Cal.com URL REFLEX_DEV_WEB_LANDING_FORM_URL_GET_DEMO is the intended demo booking form
  • Check that no other "Contact Sales" buttons were missed in the codebase
  • Confirm the demo form email field shows "Business Email" on the pricing page (requires reflex-ui changes to be deployed)

Recommended test plan: Navigate to the site, click "Book a Demo" in navbar, verify it opens the correct Cal.com form, then check the pricing page demo form shows "Business Email" field.


Diagram

%%{ init : { "theme" : "default" }}%%
graph TD
    NavbarPy["pcweb/components/docpage/<br/>navbar/navbar.py"]:::major-edit
    ConstantsPy["pcweb/constants.py"]:::context
    DemoFormPy["reflex_ui/blocks/<br/>demo_form.py"]:::major-edit
    PricingPage["pcweb/pages/pricing/<br/>header.py"]:::context
    CalCom["Cal.com Demo Form"]:::context
    
    NavbarPy -->|"imports demo URL"| ConstantsPy
    NavbarPy -->|"links to"| CalCom
    DemoFormPy -->|"used by"| PricingPage
    
    subgraph Legend
        L1[Major Edit]:::major-edit
        L2[Minor Edit]:::minor-edit
        L3[Context/No Edit]:::context
    end

classDef major-edit fill:#90EE90
classDef minor-edit fill:#87CEEB  
classDef context fill:#FFFFFF
Loading

Notes

  • The demo form already has business email validation logic that rejects personal domains (gmail, outlook, etc.), so this UI change aligns the label with existing functionality
  • Screenshots from testing show the navbar change works correctly and redirects to Cal.com
  • The reflex-ui changes are in a separate repository and will need to be deployed/installed for the email field changes to appear in reflex-web

Link to Devin run: https://app.devin.ai/sessions/88f0336bfe0047c28356fdfa6b902f30
Requested by: Alek (@Alek99)

Navbar with Book a Demo button
Cal.com demo form
Pricing page demo form

- Change email field label from 'Email' to 'Business Email'
- Update placeholder from 'john@example.com' to 'john@company.com'
- Aligns with existing business email validation logic

Co-Authored-By: Alek <alek@pynecone.io>
@devin-ai-integration
Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@Alek99 Alek99 merged commit a61f4cb into main Aug 5, 2025
4 checks passed
@carlosabadia carlosabadia deleted the devin/1754358612-update-demo-form-business-email branch August 5, 2025 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant